<template>
  <section>
    <h2>测试导航守卫-b</h2>
    <p>路由query.name: {{name}}</p>
  </section>
</template>

<script>
export default {
  props: ["name"]
}
</script>

<style scoped>
  section {
    color: #0f0;
  }
</style>